<?php
namespace app\serverfund\service\currency;

use \app\manage\service\ApiBase;
/**
 * @author:      李颖
 * @DateTime:    2017-07-03 16:57:03
 * @Description: 数字币
 */
class CurrencyFreezeLog extends ApiBase
{
    protected $currencyFreezeLogValidate = '\app\serverfund\validate\CurrencyFreezeLog';
    protected $currencyFreezeLogLogic = '\app\serverfund\logic\CurrencyFreezeLog';

    // 获取数字币冻结日志(分页)
    public function list(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'keywords'=>'', 'startTime'=>'', 'endTime'=>'', 'type'=>'']);
        return $this->oneStepRun($data, 'serverfund/currency/CurrencyFreezeLog/list', 'list');
    }

    // 获取某些user_ids的的数字币冻结日志(分页)
    public function listByUserIds(): array
    {
        $data = $this->haveIssetReceiveData(['page'=>'1', 'list_rows'=>'', 'user_ids'=>' ']);
        return $this->oneStepRun($data, 'serverfund/currency/CurrencyFreezeLog/listByUserIds', 'listByUserIds');
    }

}